<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title> 概念众包 | 运营后台</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="SHORTCUT ICON" href="./public/dist/img/Da19.png"/>
  <link rel="stylesheet" href="./public/bower_components/bootstrap/dist/css/bootstrap.min.css">
  <link rel="stylesheet" href="./public/bower_components/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="./public/bower_components/Ionicons/css/ionicons.min.css">
  <link rel="stylesheet" href="./public/dist/css/AdminLTE.min.css">
  <link rel="stylesheet" href="./public/dist/css/skins/_all-skins.min.css">
  <link rel="stylesheet" href="./public/bower_components/morris.js/morris.css">
  <link rel="stylesheet" href="./public/bower_components/jvectormap/jquery-jvectormap.css">
  <link rel="stylesheet" href="./public/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  <link rel="stylesheet" href="./public/bower_components/bootstrap-daterangepicker/daterangepicker.css">
  <link rel="stylesheet" href="./public/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
  <script src="./public/dist/js/html5shiv.min.js"></script>
  <script src="./public/dist/js/respond.min.js"></script>
  <![endif]-->
  <link rel="stylesheet" href="./public/dist/css/family.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
  <header class="main-header">
    <a href="#" class="logo">
      <span class="logo-lg"><b>众包运营</b></span>
    </a>
    <nav class="navbar navbar-static-top">
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <li class="dropdown notifications-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning"><?php echo count($list); ?></span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">待审核<span style="color: red;"><?php echo count($list); ?></span>条</li>
            </ul>
          </li>
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img src="./public/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <span class="hidden-xs"><?php echo $username; ?></span>
            </a>
            <ul class="dropdown-menu">
              <li class="user-header">
                <img src="./public/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                <p>
                  <?php echo $username; ?> - <?php echo $role; ?>
                  <small><?php echo $ctime; ?></small>
                </p>
              </li>
              <li class="user-body">
              </li>
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat" onclick="return jump('./index.php?s=Home/Index/info')">个人信息</a>
                </div>
                <div class="pull-right">
                  <a href="./index.php?s=Home/Index/logout" class="btn btn-default btn-flat">退出登录</a>
                </div>
              </li>
            </ul>
          </li>
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <aside class="main-sidebar">
    <section class="sidebar">
      <div class="user-panel">
        <div class="pull-left image">
          <img src="./public/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p><?php echo $username; ?></p>
          <a href="#"><i class="fa fa-circle text-success">&nbsp;admin</i> </a>
        </div>
      </div>
      <form action="#" method="get" class="sidebar-form">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="Search...">
          <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
        </div>
      </form>
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header">菜单栏</li>
        <?php foreach ($template as $key => $value): ?>
        <li class="treeview">
          <a href="#">
            <i class="fa <?php echo $value['style']; ?>"></i> <span><?php echo $key; ?></span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <?php foreach ($value['list'] as $item => $document): ?>
            <li class="active"><a href="#" onclick="return jump('<?php echo $document; ?>')"><i class="fa fa-circle-o"></i><?php echo $item; ?></a></li>
            <?php endforeach; ?>
          </ul>
        </li>
        <?php endforeach; ?>
      </ul>
    </section>
  </aside>
  <div class="content-wrapper">
    <iframe src="index.php?s=Home/Index/info" name="ifd" onload="this.height=ifd.document.body.scrollHeight" width="100%" scrolling="no" frameborder="0" id="content" height="800px;"></iframe>
  </div>
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b>Version</b> 2.4.0
    </div>
    <strong>Copyright &copy; 2020-2025 <a href="https://adminlte.io">Almsaeed Studio</a>.</strong> All rights
    reserved.
  </footer>
  <div class="control-sidebar-bg"></div>
</div>
<script src="./public/bower_components/jquery/dist/jquery.min.js"></script>
<script src="./public/bower_components/jquery-ui/jquery-ui.min.js"></script>
<script>
  $.widget.bridge('uibutton', $.ui.button);
</script>
<script src="./public/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="./public/bower_components/raphael/raphael.min.js"></script>
<script src="./public/bower_components/morris.js/morris.min.js"></script>
<script src="./public/bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script>
<script src="./public/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="./public/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<script src="./public/bower_components/jquery-knob/dist/jquery.knob.min.js"></script>

<script src="./public/bower_components/moment/min/moment.min.js"></script>
<script src="./public/bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
<script src="./public/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<script src="./public/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<script src="./public/bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script src="./public/bower_components/fastclick/lib/fastclick.js"></script>
<script src="./public/dist/js/adminlte.min.js"></script>
<script type="application/javascript">
  function jump(url) {
      $('#content').attr('src', url);
  }
</script>
</body>
</html>
